There are various ways to enter integers starting with a zero:
ゼロで始まる整数 を入力するには、次の方法があります。
Enter the number as text. The easiest way is to enter the number starting with an apostrophe (for example, '0987). The apostrophe will not appear in the cell, and the number will be formatted as text. Because it is in text format, however, you cannot calculate with this number.
数をテキストとして入力します。たとえば '0987 のようにアポストロフィで始まる数を入力するのが、もっとも簡単な方法です。アポストロフィはセルには表示されず、数値はテキストとして書式設定されます。テキスト書式なので、この数値で計算することはできません。
Format a cell with a number format such as \0000. This format can be assigned in the Format code field under the Format - Cells - Numbers tab, and defines the cell display as "always put a zero first and then the integer, having at least three places, and filled with zeros at the left if less than three digits".
\0000 などの数の書式でセルの書式を設定します。この書式は、書式 → セル → 数 タブの 書式コード フィールドで割り当てることができ、セル表示が「常に最初ゼロで次に整数を配置し、少なくとも 3 桁で、3 桁未満の場合は左にゼロを入力する」ことを定義します。
If you want to apply a numerical format to a column of numbers in text format (for example, text "000123" becomes number "123"), do the following:
テキスト書式で入力された数字の列に数値書式を適用するには (例えば、「000123」というテキストを「123」という数字に変更するには)、次のようにします。
Select the column in which the digits are found in text format. Set the cell format in that column as "Number".
「テキスト書式」に設定されている列全体を選択し、セルの書式を「数値」に変更します。
Choose Edit - Find & Replace
[PO-fuzzy@scalc\guide.po] ※※※未訳※※※
In the Search for box, enter ^[0-9]
[PO-fuzzy@scalc\guide.po] 検索条件 ボックスで ^[0-9] を入力します。
In the Replace with box, enter &
[PO-fuzzy@scalc\guide.po] 置き換え ボックスで & を入力します。
Check Regular expressions
[PO-fuzzy@scalc\guide.po] ※※※未訳※※※
Check Current selection only
[PO-fuzzy@scalc\guide.po] ※※※未訳※※※
Click Replace All
[PO-fuzzy@scalc\guide.po] ※※※未訳※※※